import { registerMicroApps, start } from 'qiankun';
import './style.css'

registerMicroApps([
    {
      name: 'vue app',
      entry: '//localhost:8080/',
      container: '#submodule',
      activeRule: '/vue',
    },
  ]);
  
  start();


  document.getElementById('loadSubmodule').addEventListener('click',function(){
    history.pushState(null, '/vue', '/vue')
  })